package rendering;

import utilities.Versioner;
import math.Vector3D;

public abstract class Camera {
	
	private Versioner<Vector3D> position;
	
	public Camera(Vector3D position)
	{
		this.position=new Versioner<Vector3D> (position);
	}
	
	
	public double getX()
	{
		return position.getStable().getY();
	}
	
	public double getY()
	{
		return position.getStable().getX();
	}
	
	public double getZ()
	{
		return position.getStable().getZ();
	}

	public Vector3D getPosition() {
		return position.getStable();
	}
	
	public abstract void translate(Vector3D direction);
	public abstract void update();
	
}
